package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbTreasureBox;
import com.quanyan.user.model.db.TbTreasureBoxExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbTreasureBoxMapper {
    int countByExample(TbTreasureBoxExample example);

    int deleteByExample(TbTreasureBoxExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbTreasureBox record);

    int insertSelective(TbTreasureBox record);

    List<TbTreasureBox> selectByExample(TbTreasureBoxExample example);

    TbTreasureBox selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbTreasureBox record, @Param("example") TbTreasureBoxExample example);

    int updateByExample(@Param("record") TbTreasureBox record, @Param("example") TbTreasureBoxExample example);

    int updateByPrimaryKeySelective(TbTreasureBox record);

    int updateByPrimaryKey(TbTreasureBox record);
}